#! /usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2023-04-18 10:22
# @Author  : wsh
# @File    : admin_params.py
from pydantic import BaseModel, Field


class SUPERUserLoginParam(BaseModel):  # 用户登录参数
    username: str = Field(..., min_length=4, max_length=16, title="用户名")
    password: str = Field(..., title="密码")